﻿using ToolMonitoring.WebApi.Dependency;

namespace ToolMonitoring.WebApi.Demo
{
	public interface IDemoService : ISingletonDependency 
	{
		string GetId();
	}
	public class DemoService: IDemoService
	{
		private readonly Guid id = Guid.NewGuid();

		public DemoService() 
		{
			id=Guid.NewGuid();
		}

		public string GetId()
		{
			return id.ToString();
		}
	}
}
